/* navigationSection begin */
loadNavigationSection: function (opt) {
    var that = this;
    co(function *() {
      let sectionData = opt.list;
      that.setData({
          sectionData: sectionData
      });
    });
},
onSectionTouched: function (e) {
  let appConfig = require('../appConfig');
  let key = e.currentTarget.dataset.key;
  let urlPage = "pages/page" + key;
  if (appConfig.tabBar.indexOf(urlPage) > -1) {
    wx.switchTab({
      url: '/' + urlPage
    });
  } else {
    wx.navigateTo({
      url: '/' + urlPage
    });
  }
},
/* navigationSection end */
